(redisplay_internal): Fix change of 2003-04-30. Don't
authorGerd Moellmann <gerd@gnu.org>
Fri, 29 Aug 2003 21:46:17 +0000 (21:46 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 29 Aug 2003 21:46:17 +0000 (21:46 +0000)
tell redisplay display is accurate when it's actually been paused
for pending input.

src/xdisp.c

index a61ead4bef27b60e2e5abfd787a953870859a535..c825dd21d3d2db018744394822386456a9c0a414 100644 (file)
@@ -10069,15 +10069,18 @@ redisplay_internal (preserve_echo_area)
            }
        }
 
-      /* Do the mark_window_display_accurate after all windows have
-        been redisplayed because this call resets flags in buffers
-        which are needed for proper redisplay.  */
-      for (i = 0; i < n; ++i)
-       {
-         struct frame *f = updated[i];
-         mark_window_display_accurate (f->root_window, 1);
-         if (frame_up_to_date_hook)
-           frame_up_to_date_hook (f);
+      if (!pause)
+       {
+         /* Do the mark_window_display_accurate after all windows have
+            been redisplayed because this call resets flags in buffers
+            which are needed for proper redisplay.  */
+         for (i = 0; i < n; ++i)
+           {
+             struct frame *f = updated[i];
+             mark_window_display_accurate (f->root_window, 1);
+             if (frame_up_to_date_hook)
+               frame_up_to_date_hook (f);
+           }
        }
     }
   else if (FRAME_VISIBLE_P (sf) && !FRAME_OBSCURED_P (sf))